package com.woniuxy.controller;

import com.ruoyi.common.core.domain.R;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 马宇航
 * @Todo: TODO
 * @DateTime: 22/09/15/0015 11:10
 * @Component: 成都蜗牛学苑
 **/
@RestController
@RequestMapping("/student")
public class StudentController {
    @GetMapping("/")
    @PreAuthorize("@ss.hasPermi('student:list')")
    public R findAll(){
        return R.ok();
    }
}
